package com.bp.village.assets.service;

import java.util.List;
import com.bp.village.assets.domain.BizVillageBuildingProof;

/**
 * 村级房产权证情况Service接口
 *
 * @author shaominjie
 * @date 2021-02-01
 */
public interface IBizVillageBuildingProofService {
    /**
     * 查询村级房产权证情况
     *
     * @param proofId 村级房产权证情况ID
     * @return 村级房产权证情况
     */
    public BizVillageBuildingProof selectById(Long proofId);

    /**
     * 查询村级房产权证情况列表
     *
     * @param bizVillageBuildingProof 村级房产权证情况
     * @return 村级房产权证情况集合
     */
    public List<BizVillageBuildingProof> selectList(BizVillageBuildingProof bizVillageBuildingProof);

    /**
     * 新增村级房产权证情况
     *
     * @param bizVillageBuildingProof 村级房产权证情况
     * @return 结果
     */
    public int insert(BizVillageBuildingProof bizVillageBuildingProof);

    /**
     * 修改村级房产权证情况
     *
     * @param bizVillageBuildingProof 村级房产权证情况
     * @return 结果
     */
    public int update(BizVillageBuildingProof bizVillageBuildingProof);

    /**
     * 批量删除村级房产权证情况
     *
     * @param proofIds 需要删除的村级房产权证情况ID
     * @return 结果
     */
    public int deleteByIds(Long[] proofIds);

    /**
     * 删除村级房产权证情况信息
     *
     * @param proofId 村级房产权证情况ID
     * @return 结果
     */
    public int deleteById(Long proofId);


    /**
     * 获取当前房产的证书
     * @param buildingId
     * @return
     */
    List<BizVillageBuildingProof> selectByBuildingId(Long buildingId);
}
